auto merge of #537 : markberger/cargo/510-hg-flag, r=alexcrichton
authorbors <bors@rust-lang.org>
Mon, 15 Sep 2014 16:43:46 +0000 (16:43 +0000)
committerbors <bors@rust-lang.org>
Mon, 15 Sep 2014 16:43:46 +0000 (16:43 +0000)
commit7dc77dfffee004fff4e45c1f74283903650bda2e
treef35c45f7c3bcf4f8bda6db63b2fb4ea4c49e941b
parent97c2f96f16eab2104d3194e1bfcb15d020eda70f
parent021f70afac9ee35031f6607af8c8eef968d6ca38
auto merge of #537 : markberger/cargo/510-hg-flag, r=alexcrichton

Allows the client to initialize a mercurial repo when creating a new cargo project with `cargo new --hg`. This would close #510.

This is my first time writing code in rust outside of a toy program so please feel free to tear it apart or suggest an alternative solution.
src/cargo/ops/cargo_new.rs